net.dnsConfig.servers (field)
12 uses
net (current package)
dnsclient_unix.go#L244: sLen := uint32(len(cfg.servers))
dnsclient_unix.go#L258: server := cfg.servers[(serverOffset+j)%sLen]
dnsconfig_unix.go#L24: servers []string // server addresses (in host:port form) to use
dnsconfig_unix.go#L48: conf.servers = defaultNS
dnsconfig_unix.go#L57: conf.servers = defaultNS
dnsconfig_unix.go#L73: if len(f) > 1 && len(conf.servers) < 3 { // small, but the standard limit
dnsconfig_unix.go#L78: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
dnsconfig_unix.go#L80: conf.servers = append(conf.servers, JoinHostPort(f[1], "53"))
dnsconfig_unix.go#L150: if len(conf.servers) == 0 {
dnsconfig_unix.go#L151: conf.servers = defaultNS
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)